package cn.cjx.org.mapper;

import cn.cjx.basic.mapper.BaseMapper;
import cn.cjx.org.domain.Employee;

import java.util.List;

/**
 * 员工的dao层接口
 */
public interface EmployeeMapper extends BaseMapper<Employee> {


    // 基础的CRUD接口方法从公共接口继承而来

    // 模块自己特有的接口方法写在这里
    Employee loadByUserName(String username);

    Employee loadByShopId(Long id);

	void removeRoleByEmpId(Long id);

	void saveRoleByEmpId(Long id, List<Object> roles);

	Employee loadByLogininfoId(Long id);
}
